package cn.tkb.org.service.impl;

import cn.tkb.basic.service.impl.BaseServiceImpl;
import cn.tkb.org.domain.DictionaryDetail;
import cn.tkb.org.domain.DictionaryType;
import cn.tkb.org.domain.Employee;
import cn.tkb.org.mapper.DictionaryTypeMapper;
import cn.tkb.org.service.IDictionaryDetailService;
import cn.tkb.org.service.IDictionaryTypeService;
import cn.tkb.org.service.IEmployeeService;
import org.mapstruct.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DictionaryTypeServiceImpl extends BaseServiceImpl<DictionaryType> implements IDictionaryTypeService {
    @Autowired
    DictionaryTypeMapper dictionaryTypeMapper;
    @Override
    public List<DictionaryDetail> queryByDictId(Long id) {
        return dictionaryTypeMapper.loadByDictId(id);
    }
}
